package com.hlhj.carview.presenter

import android.content.Context
import com.example.mymvp.mvp.BasePresenter
import com.hlhj.carview.Iview.ReportView
import com.hlhj.carview.bean.MyBaseBean
import com.hlhj.carview.module.ReportModule

/**
 * Created by Never Fear   on 2018\12\24 0024.
Never More....
 */
class ReportPresenter :BasePresenter<ReportModule,ReportView>(), ReportView {
    override fun setResult(myBaseBean: MyBaseBean) {
        view?.setResult(myBaseBean)
    }
    fun report(content:String,c:Context){
        module?.report(content, c)
    }

    override fun createModule() {
        module=ReportModule()
        module?.lis=this
    }
}